package org.dromara.application.domain.bo;

import org.dromara.application.domain.SysSystemInfoConfig;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 系统信息配置业务对象 sys_system_info_config
 *
 * @author liushuang
 * @date 2025-09-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysSystemInfoConfig.class, reverseConvertGenerate = false)
public class SysSystemInfoConfigBo extends BaseEntity {

    /**
     * id
     */
    private Long id;

    /**
     * 系统名
     */
    @NotBlank(message = "系统名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String systemName;

    /**
     * 技术支持
     */
    @NotBlank(message = "技术支持不能为空", groups = { AddGroup.class, EditGroup.class })
    private String technicalSupport;

    /**
     * logo头像
     */
    @NotBlank(message = "logo头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String logo;

    /**
     * 背景图片
     */
    @NotBlank(message = "背景图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bgi;

    /**
     * 状态（0正常 1停用）
     */
    @NotBlank(message = "状态（0正常 1停用）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * logo头像url
     */
    @NotBlank(message = "logo头像url不能为空", groups = { AddGroup.class, EditGroup.class })
    private String logoUrl;

    /**
     * 背景图片url
     */
    @NotBlank(message = "背景图片url不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bgiUrl;

    /**
     * 登录头像
     */
    @NotBlank(message = "登录头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String login;

    /**
     * 登录头像url
     */
    @NotBlank(message = "登录头像url不能为空", groups = { AddGroup.class, EditGroup.class })
    private String loginUrl;

    /**
     * 网页浏览器标题
     */
    @NotBlank(message = "网页浏览器标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String internetLabTitle;


}
